/**
 * 主进程与渲染进程通信频道定义
 * Definition of communication channels between main process and rendering process
 */
const ipcApiRoute = {
  // pb 平台
  createPdWindow: 'controller.pb.createPbWindow',
  createPbWebWin: 'controller.pb.createPbWebWin',
  getPbAccount: 'controller.pb.getPbAccount',
  getPbGameList: 'controller.pb.getPbGameList',
  getPbRecentGameList: 'controller.pb.getPbRecentGameList',

  // config 配置
  getConfigByKey: 'controller.sysConfig.getConfigByKey',
  saveConfig: 'controller.sysConfig.saveConfig'
}

/**
 * 自定义频道
 * custom chanel
 */
const specialIpcRoute = {
  pb_user_context_chanel: 'pb_user_context_chanel',
}

export {
  ipcApiRoute,
  specialIpcRoute
}

